3.2846 \(\int \frac{2+x}{(1+(2+x)^2)^3} \, dx\)

Optimal. Leaf size=13 \[ -\frac{1}{4 \left ((x+2)^2+1\right )^2} \]

[Out]

-1/(4*(1 + (2 + x)^2)^2)

________________________________________________________________________________________

Rubi [A]  time = 0.005537, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {372, 261} \[ -\frac{1}{4 \left ((x+2)^2+1\right )^2} \]

Antiderivative was successfully verified.

[In]

Int[(2 + x)/(1 + (2 + x)^2)^3,x]

[Out]

-1/(4*(1 + (2 + x)^2)^2)

Rule 372

Int[(u_)^(m_.)*((a_) + (b_.)*(v_)^(n_))^(p_.), x_Symbol] :> Dist[u^m/(Coefficient[v, x, 1]*v^m), Subst[Int[x^m
*(a + b*x^n)^p, x], x, v], x] /; FreeQ[{a, b, m, n, p}, x] && LinearPairQ[u, v, x]

Rule 261

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rubi steps

\begin{align*} \int \frac{2+x}{\left (1+(2+x)^2\right )^3} \, dx &=\operatorname{Subst}\left (\int \frac{x}{\left (1+x^2\right )^3} \, dx,x,2+x\right )\\ &=-\frac{1}{4 \left (1+(2+x)^2\right )^2}\\ \end{align*}

Mathematica [A]  time = 0.0029762, size = 13, normalized size = 1. \[ -\frac{1}{4 \left ((x+2)^2+1\right )^2} \]

Antiderivative was successfully verified.

[In]

Integrate[(2 + x)/(1 + (2 + x)^2)^3,x]

[Out]

-1/(4*(1 + (2 + x)^2)^2)

________________________________________________________________________________________

Maple [A]  time = 0., size = 13, normalized size = 1. \begin{align*} -{\frac{1}{4\, \left ({x}^{2}+4\,x+5 \right ) ^{2}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2+x)/(1+(2+x)^2)^3,x)

[Out]

-1/4/(x^2+4*x+5)^2

________________________________________________________________________________________

Maxima [A]  time = 1.0626, size = 15, normalized size = 1.15 \begin{align*} -\frac{1}{4 \,{\left ({\left (x + 2\right )}^{2} + 1\right )}^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2+x)/(1+(2+x)^2)^3,x, algorithm="maxima")

[Out]

-1/4/((x + 2)^2 + 1)^2

________________________________________________________________________________________

Fricas [A]  time = 1.44118, size = 55, normalized size = 4.23 \begin{align*} -\frac{1}{4 \,{\left (x^{4} + 8 \, x^{3} + 26 \, x^{2} + 40 \, x + 25\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2+x)/(1+(2+x)^2)^3,x, algorithm="fricas")

[Out]

-1/4/(x^4 + 8*x^3 + 26*x^2 + 40*x + 25)

________________________________________________________________________________________

Sympy [A]  time = 0.111223, size = 22, normalized size = 1.69 \begin{align*} - \frac{1}{4 x^{4} + 32 x^{3} + 104 x^{2} + 160 x + 100} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2+x)/(1+(2+x)**2)**3,x)

[Out]

-1/(4*x**4 + 32*x**3 + 104*x**2 + 160*x + 100)

________________________________________________________________________________________

Giac [A]  time = 1.09604, size = 16, normalized size = 1.23 \begin{align*} -\frac{1}{4 \,{\left (x^{2} + 4 \, x + 5\right )}^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2+x)/(1+(2+x)^2)^3,x, algorithm="giac")

[Out]

-1/4/(x^2 + 4*x + 5)^2